Skip to main content

ModifyStrategyTarget

Description

modify the asset grouping to which the specified baseline check policy is applied.

Request Method

POST

Request Path

/apsara/route/aegis/ModifyStrategyTarget

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
TypeBODYstringNoNo sample value for this parameter.system specified parameters. Value: hc_strategy
TargetBODYstringNoNo sample value for this parameter.the asset grouping information to which the baseline check policy is applied. see the request example for the specific description.
regionIdBODYstringYesNo sample value for this parameter.region id
ConfigBODYstringNoNo sample value for this parameter.policy configuration information. Enter the baseline check policy ID in JSON format, for example, {"strategyId":15161}
versionBODYstringNo2016-01-01version of api

Return data

NameTypeSample valueDescription
RequestIdstringno demo valuerequest ID.

Example

Successful Response example

{
"RequestId":"no demo value"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}